package LuceneIndexCreate.model;

/**
 * Created by User on 2017/12/6.
 */
public class CatData {
    String cid;
    String name;
    Boolean isParent;

    public CatData(String cid, String name) {
        this.cid = cid;
        this.name = name;
    }

    public CatData(String cid, String name, Boolean isParent) {
        this.cid = cid;
        this.name = name;
        this.isParent = isParent;
    }

    public Boolean getParent() {
        return isParent;
    }

    public CatData setParent(Boolean parent) {
        isParent = parent;
        return this;
    }

    public String getCid() {
        return cid;
    }

    public CatData setCid(String cid) {
        this.cid = cid;
        return this;
    }

    public String getName() {
        return name;
    }

    public CatData setName(String name) {
        this.name = name;
        return this;
    }
}
